<!DOCTYPE html>
<html lang="en" xmlns:th="http://thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商品信息</title>
    <link href="../css/test.css" rel="stylesheet">
    <link rel="stylesheet" href="../css/account.css" type="text/css" media="screen" />
</head>
<body>
<table class="table table-bordered table-striped table-hover">

    <tr>

        <th>orderid</th>
        <th>linenum</th>
        <th>itemid</th>
        <th>quantity</th>
        <th>unitprice</th>

    </tr>
    <tr th:each="lineItem:${order.lineItems}">
        <td>
            <a th:text="${lineItem.orderId}">orderid</a>
        </td>
        <td>
            <a th:text="${lineItem.lineNumber}">linenum</a>
        </td>
        <td>
            <a th:href="@{/item/getItemInfo(itemId=${lineItem.itemId})}" th:text="${lineItem.itemId}">itemid</a>
        </td>

        <td>
            <a th:text="${lineItem.quantity}">quantity</a>
        </td>

        <td>
            <a th:text="${lineItem.unitPrice}">unitprice</a>
        </td>

        <!-- <td th:text="${order.shipZip}">ShipZip</td>
         <td th:text="${order.billZip}">BillZip</td>
         <td th:text="${order.totalPrice}">TotalPrice</td>-->

    </tr>
</table>

</body>
</html>